<?php
$title = 'gA- Crear usuario';
$this->headTitle($title);
?>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <h3><p class="text-center">¡Bienvenido!</p></h3>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span10 offset1">
            <div class="well site-form">
                <form method="get" enctype="application/x-www-form-urlencoded"
                      action="<?php echo $this->url('site', array('action' => 'sign-up')); ?>"
                      class="form-horizontal">
                    <fieldset>
                        <legend>Necesitamos algunos datos:</legend>
                        <div class="control-group">
                            <label class="control-label" for="username">Usuario</label>

                            <div class="controls">
                                <input type="text" name="username" maxlength="10" class="input-block-level"
                                       placeholder="Elige un usuario" required="">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="password">Pase</label>

                            <div class="controls">
                                <input name="password" type="password" maxlength="15" class="input-block-level"
                                       placeholder="Pase" required="">
                            </div>
                        </div>
                    </fieldset>
                    <div class="control-group">
                        <label class="control-label" for="confirm_password">Confirmar pase</label>

                        <div class="controls">
                            <input name="confirm_password" type="password" maxlength="15" class="input-block-level"
                                   placeholder="Confirma tu pase" required="">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="first_name">Nombres</label>

                        <div class="controls">
                            <input name="first_name" type="text" maxlength="30" class="input-block-level"
                                   placeholder="Nombre" required="">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="last_name">Apellidos</label>

                        <div class="controls">
                            <input name="last_name" type="text" maxlength="30" class="input-block-level"
                                   placeholder="Apellido" required="">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="email">Correo</label>

                        <div class="controls">
                            <input name="email" type="email" maxlength="30" class="input-block-level"
                                   placeholder="e-mail" required="">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="v">Sitio web</label>

                        <div class="controls">
                            <input name="website" type="url" maxlength="50" class="input-block-level"
                                   placeholder="Sitio web">
                        </div>
                    </div>
<!--                    <label class="control-label" for="avatar">Avatar</label>-->
<!---->
<!--                    <div class="controls">-->
<!--                        <input name="avatar" type="file" class="input-block-level"-->
<!--                               placeholder="Imagen" required="">-->
<!--                    </div>-->
                    <?php
                    if ($this->message)
                        echo '<div class="alert alert-error">' . $message . '</div>';
                    ?>
                    <div class="form-actions">
                        <button type="reset" class="btn btn-success">Limpiar</button>
                        <button type="submit" class="btn btn-primary">Enviar</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>